<?php

require_once(APPPATH . 'controllers/frontend/layout.php');

class Home extends Layout {

    public function __construct() {
        parent::__construct();
    }

    public function index() {
        $this->_data['data']['pcat'] = $this->mcategories->getParentCat();
        $this->_data['title'] = "Trang chủ";
        $this->_data['temp'] = "frontend/home/index";
        $this->_data['banner'] = 1;
        $this->_data['data']['best_seller'] = 1;
        $this->_data['data']['ads1'] = 1;
        $this->load->view('frontend/layout/index', $this->_data);
    }

}
